package com.bys.mapper;

import com.bys.po.Tsn;
import com.bys.po.TsnExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TsnMapper {
    long countByExample(TsnExample example);

    int deleteByExample(TsnExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Tsn record);

    int insertSelective(Tsn record);

    List<Tsn> selectByExample(TsnExample example);

    Tsn selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Tsn record, @Param("example") TsnExample example);

    int updateByExample(@Param("record") Tsn record, @Param("example") TsnExample example);

    int updateByPrimaryKeySelective(Tsn record);

    int updateByPrimaryKey(Tsn record);
    @Select("select * from hzitdb.tb_specification")
    List<Tsn> selectAll();
}